:root {
  //text-align: center;
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --common-bg: url("assets/bg/bg2.jpg");
}

html, body {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}


%ground-glass {
  background: rgba(255, 255, 255, 0.2); /* 半透明背景 */
  border-radius: 20px; /* 圆角效果 */
  backdrop-filter: blur(10px); /* 背景模糊效果 */
  -webkit-backdrop-filter: blur(10px); /* 兼容 Safari */
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加柔和阴影 */
  overflow: hidden; /* 防止内容溢出 */
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
  box-sizing: border-box;
}


/*设置滚动条宽度为 6px*/
::-webkit-scrollbar {
  width: 2px;
  height: 5px;
}

/*设置背景颜色，并设置边框倒角，设置滚动动画，0.2 */
::-webkit-scrollbar-thumb {
  background-color: #0003;
  border-radius: 10px;
  transition: all .2s ease-in-out;
}

/*设置滚动框为倒角*/
::-webkit-scrollbar-track {
  border-radius: 10px;
}
